package com.yaorange.jxc.goods.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * @description:
 * @company: yaorange
 * @author: wu YanZu
 * @version: 1.0
 * @create: 2022-04-27 13:54:43
 */
@Data
@TableName("tb_goods_type")
public class GoodsType {

    @TableId(type= IdType.AUTO)
    private Integer goodsTypeId;

    private String goodsTypeName;

    private Integer pId;

    private Integer goodsTypeState;
    @TableField(exist = false)
    private List<GoodsType> childrenList;
}
